package com.ulook.lookplanet.ui.square.article;

/**
 * 描述：
 *
 * @author L1998
 * @data 2021/4/26
 */
public class CommentState {

    private String success;
    private Integer state;
    private boolean isSuccess;
    private boolean noMore;

    public CommentState(String success){
        this.success = success;
        state = null;
        isSuccess = true;
        noMore = false;
    }

    public CommentState(Integer state){
        success = null;
        this.state = state;
        isSuccess = false;
        noMore = false;
    }

    public CommentState(boolean noMore){
        success = null;
        state = null;
        isSuccess = false;
        this.noMore = noMore;
    }

    public String getSuccess() {
        return success;
    }

    public Integer getState() {
        return state;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public boolean isNoMore(){
        return noMore;
    }
}
